package online.longzipeng.cinemasys.service.impl;

import online.longzipeng.cinemasys.entity.Resources;
import online.longzipeng.cinemasys.mapper.ResourcesMapper;
import online.longzipeng.cinemasys.service.ResourcesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import online.longzipeng.cinemasys.vo.resources.ResourcesSaveVO;
import online.longzipeng.cinemasys.vo.resources.ResourcesUpdateVO;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lzp
 * @since 2021-04-09
 */
@Service
public class ResourcesServiceImpl extends ServiceImpl<ResourcesMapper, Resources> implements ResourcesService {

    @Override
    public void add(Resources resources) {
        save(resources);
    }

    @Override
    public void updateReSources(Resources resources) {
        updateById(resources);
    }
}
